Contents | Index | < Browse | Browse >
LETTERldivULETTER
Computes the quotient and the remainder of two long integers.
Overview
#include <stddiv.h>
r = ldiv(numerator, denominator);
long numerator;
long denominator;
Portability
ANSI
Description
This function divides numerator / denominator and returns the resulting
quotient and remainder in a ldiv_t structure.
Returns
The quotient and remainder of the division.
See also
div